package com.hdl.server.utils;

import java.io.InputStream;

/**
 * 类名 ResourceUtils
 * 描述 资源加载器
 *
 * @author hedonglin
 * @version 1.0
 * @date 2020/5/31 17:43
 */
public class ResourceUtils {
    public static InputStream getResourceAsInputStream(String path){
         InputStream resourceAsStream = ResourceUtils.class.getClassLoader().getResourceAsStream(path);
         return resourceAsStream;
    }
}
